Visualizing roles of variables in program animation

نویسندگان

  • Jorma Sajaniemi
  • Marja Kuittinen
چکیده

Visualizations may be used to assist in learning elementary computer programming— a skill that is hard to acquire by many students. This article presents a program animation system, PlanAni, that is based on the concept of the roles of variables. Roles represent schematic uses of variables that occur in programs over and over again, and a set of nine roles covers practically all variables in novice-level programs. PlanAni has been evaluated in a classroom experiment comparing traditional teaching with role-based teaching and animation. The results suggest that the introduction of roles provides students with a new conceptual framework that enables them to mentally process program information in a way similar to that of good code comprehenders. The use of role-based animation seems to assist in the adoption of role knowledge and expert-like programming strategies. A semi-structured interview with the teacher indicates that students like to work with the animator and that the system clarifies many concepts in programming.

برای دانلود رایگان متن کامل این مقاله و بیش از 32 میلیون مقاله دیگر ابتدا ثبت نام کنید

ثبت نام

اگر عضو سایت هستید لطفا وارد حساب کاربری خود شوید

منابع مشابه

Visualizing Roles of Variables to Novice Programmers

Many students learning to write computer programs encounter considerable difficulties. For novices, one of the key problems is in understanding how the very basic programming constructs work. In this paper, we concentrate on visualizing the role of a variable, i.e., the dynamic character of a variable embodied by the sequence of its successive values as related to other variables. We present a ...

متن کامل

PlanAni: A Program Animator Based on the Roles of Variables

Computer programming is a difficult skill for many students and visualizations may be used to foster learning. This demo presents a program animation system, PlanAni, that is based on the concept of the roles of variables. Roles represent schematic uses of variables that occur in programs over and over again, and a set of nine roles covers practically all variables in novice-level programs. CR ...

متن کامل

Roles of Variables and Learning to Program

Computer programming is a difficult skill for many students and new methods and techniques to help novices to learn programming are needed. Roles of variables is a recently introduced concept that captures expert programmers’ tacit knowledge in a way that can be explicitly taught to students. The use of roles and role-based program animation in teaching has been found to facilitate learning pro...

متن کامل

A System for Visualizing and Animating Program Runtime Histories

Program visualization and animation are well known to be important in helping people understand computer programs. Researchers have investigated a variety of techniques and built many systems to this end. However the use of program visualization and animation systems is limited in real programming environments due to a number of problems. They, among others, include lack of flexibility and poor...

متن کامل

The Study of Education Based on Animation in Patient’s Performance under Hemodialysis in Emergency Evacuation Selected Hospitals of Aja

Introduction: A disaster evacuation program is one of the most important parts of hospital crisis management. The following study was carried out to determine the effects of animation-based teaching on hemodialysis patients’ performance in an emergency evacuation. Material and Method: In this quasi-experimental study, two out of four AJA Hospitals in Tehran that had hemodialysis wards, were sel...

متن کامل

ذخیره در منابع من


  با ذخیره ی این منبع در منابع من، دسترسی به آن را برای استفاده های بعدی آسان تر کنید

عنوان ژورنال:
  • Information Visualization

دوره 3  شماره 

صفحات  -

تاریخ انتشار 2004